Use version_compare to compare version strings correctly#18173
Use version_compare to compare version strings correctly#18173magento-engcom-team merged 1 commit intomagento:2.3-developfrom schmengler:fix-upgrade-message
Conversation
|
|
|
Hi @schmengler. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
|
Hi @schmengler, |
|
Hi @schmengler, we need the fix to be delivered also to 2.2-develop branch so please don't forget to port this PR to 2.2-develop; you can do it easily using the Porting Tool, https://devdocs.magento.com/guides/v2.2/contributor-guide/contributing.html#porting-tool |
|
Hi @slavvka, thank you for the review. |
|
Hi @schmengler. Thank you for your contribution. |
Description
Version numbers were compared with regular alphanumeric string comparison
<, which results in1.10 < 1.9. Instead,version_compareshould be usedManual testing scenarios
Contribution checklist